projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418e5da
)
* lisp/emacs-lisp/seq.el (seq-concatenate): Accept non-`sequencep` sequences
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 7 Mar 2022 14:59:43 +0000
(09:59 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 7 Mar 2022 14:59:43 +0000
(09:59 -0500)
lisp/emacs-lisp/seq.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/seq.el
b/lisp/emacs-lisp/seq.el
index abfe51d32b5b432d55fa24f758be50eed3685d61..5ea9fae2e9b5f122b579887237dff3e3751b313a 100644
(file)
--- a/
lisp/emacs-lisp/seq.el
+++ b/
lisp/emacs-lisp/seq.el
@@
-299,6
+299,7
@@
sorted. FUNCTION must be a function of one argument."
TYPE must be one of following symbols: vector, string or list.
\n(fn TYPE SEQUENCE...)"
+ (setq sequences (mapcar #'seq-into-sequence sequences))
(pcase type
('vector (apply #'vconcat sequences))
('string (apply #'concat sequences))